package com.dews.course.convert;

import com.dews.course.domain.entity.StudentScore;
import com.dews.course.domain.vo.StudentScoreVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 学生课程成绩对象转换器
*
* @author qingfeng
* @date 2025-01-21
*/
@Mapper
public interface StudentScoreConvert {

    StudentScoreConvert INSTANCE = Mappers.getMapper(StudentScoreConvert.class);

    StudentScore convert(StudentScoreVo bean);
    StudentScoreVo convert(StudentScore domain);
    List<StudentScoreVo> convert(List<StudentScore> domains);
}
